package com.qf.service;

import com.qf.bean.CartBean;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author yangl
 * @version 1.0
 * @date 2023/4/26 11:53
 */
public interface CartService {
    /**
     * 添加商品到购物车
     * @param pid
     * @param amount
     * @param session
     */
    void add(String pid, String amount, HttpSession session);

    List<CartBean> findAll(Integer uid);
}
